package online.longzipeng.cinemasys.config;

import org.springframework.context.annotation.Configuration;

@Configuration
public class AlipayConfig {
    //↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
    // 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
    public static String app_id = "2016110200786389";

    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCvmO6sEce4AS/6uoWZoD9v9L8kbiCEMV9FhPtujiH4tiGLlyqACtGsIZzLi4qZiXf2H/BFDQiQHo+keLzyvafJ5oCgHLnzyR7z/uX4vl2iwuUEJKhZVKDOoK8zJXS7XLznPVwPtEg8MKOkT/ARoQjPv/tN1GtDopp0y1RIkQjs4H531EMh9DJt3h86dsnZkhgtGyCU1/aqMgRUlJoHtR5LtrA3EqGcYZhiTfZwUjUDZ1ZoQcGhv0cntv9Y7VT+S8P/x/KchqAh7KdiLAO0agu+mqYJ6Ha3Q0H9b98EJPI1156zl/kuVyTAaiaZ9hvz5MHyl2ml1I0daC6Sg23qWtgzAgMBAAECggEATDFq1sT8SS5SuFO45tkuzZCAY/lZKKMXuN2kD+uid/3nfl+AdIC9TBhlpbiN0mNg5y4inoOyRH7OS0qMijObG7Nl+pOcaFjLkon3FcDcdmRk5TBW0DQ1dpMokmPdS/NIkHoCeVn7wgpE52Y8QBoE7cha7gGO7ZEfvjAACWDNY6Kpc3St1/BrZplpfTn/RWn/AxLf0CCtftErFSLMJ3lTmzdwqvFQVdApATg0CMxKZVChRlAG8M6HkfJF138++wZ+4MUN5gn6wR82cX6cKsfL2uyVP5CUPmf25wv149jdaV4aYULSBXHRVIDJaMI1x7lMawUS9VsQcl9P/Z9VnU9sGQKBgQDdP7d18EZIhwWr5rbHQhXX/Zm9i6WEQhJJZA5iGGvaXYcinFFb5fm1BDoW8KPkiJkKI/qm9euhN5S8KYJ3bvlFLnvx/zhQU1aMqewt4hw0W9E+OqHPpok0p66ZSvQWfJ4hNp75QYesINxjF3XLjdcBtG+HCx3cPAWT4u6TYyeH9QKBgQDLLZi5q9/9oDANN3ghfj2HCJI9g5tPSwgHJpfxB5sx8FY/DjXZruAZJzTWXs91lPwGSrrPJuTLVqm/83FlmdwWmEtpRmhCJkUD2ztmboyeOTNvBzoot6fUG13uksVgeF3xaIIs0UFzuRxDRnoY+xGqaxBqjdcOYkrFkI5xGs/OhwKBgCG9N7Lqgy1IOdsvAax9LWuUpr867nCuyq8abP8Ujk3seVET2WxUM7IhBOK+q5+MHRpoxi5zzgz1tt7Czbx81dJw9kG/E81cCBTHTNbqZjat0cjVlBtgYAgBkiSaQ4KyWkLiW3fTQGdFU5Zg23vBE4qVA3TqgxE0rf0RXCRpuHuJAoGBAJwGJM0YTsb+d0f++7KEtgz3KQ4x/VdT4BNVsMJ4O9aKoECF0habMx49vFaOsjOyOCNAydoAHRyFLY/pC4ChOaDkTKzIU5HQv5jphuDvLe7nMDcnzqKr/iZk6aombYnahRG4VpbCDsgmM6z59xMt4nADDbU1vRsfohm7G5eBpmkLAoGAFDmJqdnEecY7iL06m8R+cvwG+XaWhilIb/RHQmtiRqbxtP3SsB/cEogZTXPDXxsXxsfSaFx15V5/795H9J1KKNxB1JYD3LeqcJR39WsM5j98REY0nlpwW031Ocrw9mmsJUgmXs47W7Rit7XBu0PZYGHal12iN8iyMN71aTaGEys=";

    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr5jurBHHuAEv+rqFmaA/b/S/JG4ghDFfRYT7bo4h+LYhi5cqgArRrCGcy4uKmYl39h/wRQ0IkB6PpHi88r2nyeaAoBy588ke8/7l+L5dosLlBCSoWVSgzqCvMyV0u1y85z1cD7RIPDCjpE/wEaEIz7/7TdRrQ6KadMtUSJEI7OB+d9RDIfQybd4fOnbJ2ZIYLRsglNf2qjIEVJSaB7UeS7awNxKhnGGYYk32cFI1A2dWaEHBob9HJ7b/WO1U/kvD/8fynIagIeynYiwDtGoLvpqmCeh2t0NB/W/fBCTyNdees5f5LlckwGommfYb8+TB8pdppdSNHWgukoNt6lrYMwIDAQAB";

    // 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    //这里地址为，支付成功之后回调的地址，异步地址
    public static String notify_url = "http://www.longzipeng.online:9999/pay/start";

    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    //这里地址为，支付成功之后跳转的地址，同步
    public static String return_url = "http://www.longzipeng.online:9999/pay/end";

    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String charset = "UTF-8";

    // 支付宝网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

    // 真实环境
//    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";
}